<template>
  <div>
    <h1>vue3组件通信</h1>
    <hr>
    <Child :count="count" title="123" />
  </div>
</template>

<script>
import { ref } from 'vue'
import Child from './child.vue'
export default {
  components: {
    Child
  },
  setup () {
    const count = ref(1e4)
    return { count }
  }
}
</script>

<style lang="scss" scoped>

</style>
